package Main;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class appoiment {
    private String number;
    private String name;
    private String dateTime;

    public appoiment() {
    }

    public appoiment(String number, String name, String dateTime) {
        this.number = number;
        this.name = name;
        this.dateTime = dateTime;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return dateTime;
    }

    public void setDate(String dateTime) {
        this.dateTime = dateTime;
    }

    @Override
    public String toString() {
        return "appoiment{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", date=" + dateTime +
                '}';
    }
}
